Skip to content

Conversation

@jaydeluca
Copy link
Member

No description provided.

@jaydeluca jaydeluca marked this pull request as ready for review November 2, 2024 01:38
@jaydeluca jaydeluca requested a review from a team as a code owner November 2, 2024 01:38
void setupOptions() {
options.expectedServerSpanNameMapper = this::expectedServerSpanName;
options.expectedHttpRoute = this::expectedHttpRoute;
options.setExpectedException(new IllegalStateException(EXCEPTION.getBody()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason you didn't change this in

instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this when looking for where it was configured, i'll update

)
// instrumentation does not create a span at all
options.disableTestNonStandardHttpMethod
options.setExpectedException(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just make the scala and grails tests also throw IllegalStateException. The only one tests that could keep using are the old groovy tests, they'll get converted eventually anyway.

@laurit laurit merged commit 77b90fc into open-telemetry:main Nov 2, 2024
56 checks passed
@jaydeluca jaydeluca deleted the update-server-test-exception branch November 9, 2024 02:05
akats7 pushed a commit to akats7/opentelemetry-java-instrumentation that referenced this pull request Nov 21, 2024
akats7 pushed a commit to akats7/opentelemetry-java-instrumentation that referenced this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants